package dao.sqlmap;

import java.sql.SQLException;

import model.Address;

import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;

import dao.AddressDAO;
import dao.DAOHelper;
import dao.NewDAO;
import dao.UpdateDAO;

public class UpdateSQLMapDao extends SqlMapDaoTemplate implements UpdateDAO{
	private static final String UPDATE_ADDRESS = "updateAddress";


	public UpdateSQLMapDao(DaoManager dm) {
		super(dm);
	}
	
	@Override
	public void updateAddress(Address add) throws SQLException {
	      update(UPDATE_ADDRESS,add);
	}

	
}
